{include file="public/head" /}
<!-- Data Tables -->
<link href="__STATIC__/teacher/css/plugins/dataTables/dataTables.bootstrap.css" rel="stylesheet">
</head>
<body class="gray-bg">
<h2>请假事项处理</h2>
<div class="wrapper wrapper-content animated fadeInRight" style="padding: 0px;">
    <!--处理请假申请概览-->
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>学生请假申请 <small>共 {$CountAllWaitLeave} 条数据</small></h5>
                </div>
                <div class="ibox-content">
                    <table class="table table-striped table-bordered table-hover dataTables-example">
                        <thead>
                        <tr>
                            <th>序号</th>
                            <th>姓名</th>
                            <th>类型</th>
                            <th>状态</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        {volist name="AllWaitLeave" id="vo"}
                            <tr class="gradeX">
                                <td>{$i}</td>
                                <td>{$vo.username}</td>
                                <td>{$vo.type|LeaveType}</td>
                                <td class="center">{$vo.status|LeaveStatus}</td>
                                <td class="center">
                                    <a href="{:url('teacher/info/leaveinfo',['id'=>$vo.id])}"><i class="fa fa-edit"></i></a>
                                </td>
                            </tr>
                        {/volist}
                        </tbody>
                    </table>
                    {$AllWaitLeave->render()}
                </div>
            </div>
        </div>
    </div>


</div>
<!-- 全局js -->
{include file="public/footer" /}

<!-- Data Tables -->
<script src="__STATIC__/teacher/js/plugins/dataTables/jquery.dataTables.js"></script>
<script src="__STATIC__/teacher/js/plugins/dataTables/dataTables.bootstrap.js"></script>

</body>
</html>